package de.hsmannheim.poolraumapp.fragment;

import android.support.v4.app.Fragment;
import de.hsmannheim.poolraumapp.PoolraumApp;
import de.hsmannheim.poolraumapp.db.RoomSearcher;
import de.hsmannheim.poolraumapp.model.RoomQuery;

public abstract class PoolraumFragment extends Fragment {
	public RoomQuery getRoomQuery() {
		PoolraumApp app = (PoolraumApp)getActivity().getApplication();
		return app.getRoomQuery();
	}
	
	public RoomSearcher getRoomSearcher() {
		PoolraumApp app = (PoolraumApp)getActivity().getApplication();
		return app.getRoomSearcher();
	}
}
